Skip to content

fix: add missing breakLease calls in ContractNegotiationProtocolServiceImpl#5788

Merged
ndr-brt merged 1 commit into
mainfrom
5728-missing-breake-lease
May 29, 2026
Merged

fix: add missing breakLease calls in ContractNegotiationProtocolServiceImpl#5788
ndr-brt merged 1 commit into
mainfrom
5728-missing-breake-lease

Conversation

@ndr-brt
Copy link
Copy Markdown
Member

@ndr-brt ndr-brt commented May 29, 2026

What this PR changes/adds

Add missing breakLease in case some validation after entity lease fails.
Took the opportunity to refactor the protocol service and some satellite classes.
Also got rid of ValidatedContractOffer, that was a carrier object for objects that were already available in the caller service, so now the validateInitialOffer is just a validator method, and not also a factory.

Why it does that

Briefly state why the change was necessary.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Part of #5728

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt requested a review from a team as a code owner May 29, 2026 12:34
@ndr-brt ndr-brt added bug Something isn't working refactoring Cleaning up code and dependencies labels May 29, 2026
@ndr-brt ndr-brt force-pushed the 5728-missing-breake-lease branch from 917412e to d419ce5 Compare May 29, 2026 13:18
@ndr-brt ndr-brt force-pushed the 5728-missing-breake-lease branch from d419ce5 to 7df4834 Compare May 29, 2026 13:25
@ndr-brt ndr-brt merged commit 3e35a4e into main May 29, 2026
20 checks passed
@ndr-brt ndr-brt deleted the 5728-missing-breake-lease branch May 29, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working refactoring Cleaning up code and dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants